# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        黄周云  
# Name:         demo06
# Description:  finally语句
# Author:       ASUS
# Date:         2019/3/23
#-------------------------------------------------------------------------------

a = 10
b = 0

def div(a,b):
    c = 0
    try:
        c = a/b
        return c
    except Exception as e:
        print(e)
        return None
    finally:
        #就算上面有return，finally也一定会执行
        c = c + 100
        return c

if __name__=='__main__':
    d = div(a,b)
    print(d)





